//
//  KDDUpdate.h
//  MengLiao
//
//  Created by xiuxin on 2022/7/15.
//  Copyright © 2022 ZHBen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KDDHeader.h"
#import "KDDPosition.h"
#import "KDDSectionData.h"

@interface KDDUpdate : NSObject <NSCopying>

@property (nonatomic) KDDUpdateType updateType;

@property (nonatomic) KDDTargetType target;

@property (nonatomic) NSInteger section;

@property (strong,nonatomic) NSMutableIndexSet * indexSet;

@property (nonatomic) id model;

@property (strong,nonatomic) NSMutableArray * modelList;

- (instancetype)initWithTarget:(KDDTargetType)target updateType:(KDDUpdateType)updateType;

@end

@interface KOSUpdate : KDDUpdate <NSCopying>

@property (strong,nonatomic) NSMutableArray<KDDPosition *> * positionList;

@property (strong,nonatomic) NSMutableArray<KDDUpdate *> * updateList;

@end
